<?php
namespace BP\En;
class GETree extends EntityNoName {
	public $PhysicsTable;	// String
	public $Desc;	// String
	private function __init() { // default class members
		$this->PhysicsTable = NULL;
		$this->Desc = NULL;
	}
	public function toString () 
	{
		return $this->PhysicsTable;
	}
	public function getHisUAC () 
	{
		$uac = UAC::constructor__();
		$uac->OpenForSysAdmin();
		return $uac;
	}
	public static function constructor__ () 
	{
		$me = new self();
		$me->__init();
		return $me;
	}
	public static function constructor__String ($no) // [String no]
	{
		$me = new self();
		$me->__init();
		parent::constructor__String($no);
		return $me;
	}
	public static function constructor__String_String ($sftable, $tableDesc) // [String sftable, String tableDesc]
	{
		$me = new self();
		$me->__init();
		$me->PhysicsTable = $sftable;
		$me->Desc = $tableDesc;
		return $me;
	}
	public function getEnMap () 
	{
		$map = Map::constructor__String_String($this->PhysicsTable, $this->Desc);
		$map->setIsAutoGenerNo( TRUE );
		$map->Java_SetDepositaryOfEntity($Depositary->Application);
		$map->Java_SetDepositaryOfMap($Depositary->Application);
		$map->Java_SetEnType(EnType::$App);
		$map->setIsAutoGenerNo( TRUE );
			/* match: String_String_String_b_b_I_I_I */
		$map->AddTBStringPK_String_String_String_b_b_I_I_I(GETreeAttr::$No, NULL, "编号",  TRUE ,  TRUE , 1, 30, 3);
			/* match: String_String_String_b_b_I_I_I */
		$map->AddTBString_String_String_String_b_b_I_I_I(GETreeAttr::$Name, NULL, "名称",  TRUE ,  FALSE , 1, 60, 500);
		return $map;
	}
}
?>
